PdfSettings

public interface PdfSettings implements SystemPrinter.Settings<T>, Fit<T>

Print settings available when printing PDF content on a physical printer.

Since

7.13

Functions

Link copied to clipboard
public abstract void apply()
Applies the configured print settings.
Link copied to clipboard
public abstract ColorModel colorModel()
Returns the color model used by the printer.
public abstract T colorModel(ColorModel colorModel)
Configures the colorModel for printing.
Link copied to clipboard
public abstract int copies()
Returns the number of copies to print.
public abstract T copies(int copies)
Configures the number of copies to print.
Link copied to clipboard
public abstract T disableCollatePrinting()
Disables collate printing.
Link copied to clipboard
public abstract DuplexMode duplexMode()
Returns the duplex mode used by the printer.
public abstract T duplexMode(DuplexMode duplexMode)
Configures the duplex mode for printing.
Link copied to clipboard
public abstract T enableCollatePrinting()
Enables collate printing.
Link copied to clipboard
public abstract Fit fit()
Returns the fit used by the printer.
public abstract T fit(Fit fit)
Configures the fit for printing.
Link copied to clipboard
public abstract boolean isCollatePrintingEnabled()
Returns true if collate printing is enabled.
Link copied to clipboard
public abstract Set<PageRange> pageRanges()
Returns an immutable set containing the page ranges to print.
public abstract T pageRanges(Array<PageRange> pageRanges)
public abstract T pageRanges(Set<PageRange> pageRanges)
Configures the page ranges to print.
Link copied to clipboard
public abstract PagesPerSheet pagesPerSheet()
Returns the number of pages per sheet.
public abstract T pagesPerSheet(PagesPerSheet pagesPerSheet)
Configures the number of pages per sheet.
Link copied to clipboard
public abstract PaperSize paperSize()
Returns the paper size used by the printer.
public abstract T paperSize(PaperSize paperSize)
Configures the paper size for printing.
Link copied to clipboard
public abstract Scaling scaling()
Returns the scaling used by the printer.
public abstract T scaling(Scaling scaling)
Configures the scaling for printing.